package com.bmf.module.rbac.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RbacUserResultVo implements Serializable {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "账号")
    private String username;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "盐")
    private String salt;

    @ApiModelProperty(value = "email")
    private String email;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "组织id")
    private Integer organizationId;

    @ApiModelProperty(value = "组织")
    private OrganizationResultVo organizationResultVo;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "身份证")
    private String identification;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "角色ids")
    private List<Integer> roleIds;

    @ApiModelProperty(value = "角色")
    private List<RbacRoleResultVo> roles;

}
